//
//  EvidenceBrowseViewController.h
//  evidenceGather
//
//  Created by 继伟 王 on 13-8-17.
//  Copyright (c) 2013年 无. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ComboxDelegate.h"
#import "MyLabelDelegate.h"
#import "GatherRecordClickDelegate.h"
#import "PopoverViewSelectDelegate.h"
#import "POVoiceHUD.h"
#import "LoadingView.h"
#import "LocationManager.h"

@class Combox;

@class UserVO;
@class MDProject;
@class MDProbCls;
@class MDProvince;
@class MDGather;
@class FPPopoverController;


@interface EvidenceBrowseViewController : UIViewController <ComboxDelegate,POVoiceHUDDelegate,PopoverViewSelectDelegate>{
    LoadingView *loadingView; 
}


@property (retain, nonatomic) MDProject *mdProject;
@property (retain, nonatomic) MDProbCls *mdProbCls;
@property (retain, nonatomic) MDProvince *mdProvince;
@property (retain, nonatomic) MDGather *mdGather;
@property (retain, nonatomic) LocationManager *location;

@property (retain, nonatomic) FPPopoverController *popoverCtrl;


@property (retain,nonatomic)  UserVO *userVO; //用户名称

@property (retain, nonatomic) IBOutlet UILabel *hintInfoLabel;


//内容区试图
@property (retain, nonatomic) IBOutlet UIScrollView *contentScrollView;

@property (retain, nonatomic) IBOutlet UILabel *provinceLabel;
@property (retain, nonatomic) IBOutlet UILabel *projectLabel;

//问题分类区试图
@property (retain, nonatomic) IBOutlet UILabel *probClsLabel;


@property (retain, nonatomic) IBOutlet UIScrollView *picImageView;
 
@property (retain, nonatomic) IBOutlet UIScrollView *radioImageView;
 
@property (retain, nonatomic) IBOutlet UITextView *questTextView;

//省份
@property (retain, nonatomic) NSMutableDictionary *provKeyValue;

//项目
@property (retain, nonatomic) NSMutableDictionary *projKeyKeyValue;

//问题分类
@property (retain, nonatomic) NSMutableDictionary *probClsKeyValue;

//当前省份
@property (retain, nonatomic) NSString *curSelectProvCode;
//当前项目
@property (retain, nonatomic) NSString *curSelectPjectCode;
//当前项目
@property (retain, nonatomic) NSString *curSelectPjectName;

@property (retain, nonatomic)  Combox *dd1;
@property (retain, nonatomic)  Combox *dd2;
- (IBAction)provBtnClick:(id)sender;
@property (retain, nonatomic) IBOutlet UIButton *provBtn;
@property (retain, nonatomic) IBOutlet UIButton *projBtn;

- (IBAction)projBtnClick:(id)sender;
@property (retain, nonatomic) AVAudioPlayer *avPlay;

- (IBAction)addEvidenceBtn:(id)sender;

- (IBAction)logoutBtn:(id)sender;


- (IBAction)commitBtn:(id)sender;


- (IBAction)refreshBtn:(id)sender;

@end
